package com.ecloud.openapi.security.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ecloud.common.base.model.BasePo;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * 角色权限关联表 PO模型
 *
 * @author LiuGangQiang Create in 2021/07/04
 */
@Getter
@Setter
@TableName("base_role_permission")
public class BaseRolePermissionPo extends BasePo<String> {
    private static final long serialVersionUID = 1L;
    /* 角色ID */
    @TableField("role_id")
    private String roleId;
    /* 权限ID */
    @TableField("permission_id")
    private String permissionId;
    /* 是否激活 */
    @TableField("enabled")
    private Boolean enabled;
    /* 修改时间 */
    @TableField("update_time")
    private LocalDateTime updateTime;
    /* 创建时间 */
    @TableField("create_time")
    private LocalDateTime createTime;
}
